package com.example.paopao.consumer.account.dao.persist.repository;


import com.example.paopao.consumer.account.pojo.entity.User;
import com.example.paopao.consumer.account.pojo.vo.UserVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface IUserRepository {

    UserVO selectByName(String name);

    @Transactional
    int insert(User user);


    List<UserVO> selectByPhone(String phone);



}
